package com.bristua.mall.common.controller;

import com.bristua.mall.common.bean.Result;
import com.bristua.mall.common.biz.QuerySpecialPriceBiz;
import com.bristua.mall.common.utils.HandleResultUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2019/5/9.
 */
@RestController
@Api(value="天天特价查询",tags={"天天特价查询"})
public class QuerySpecialPriceController {
    @Autowired
    private QuerySpecialPriceBiz querySpecialPriceBiz;
    @PostMapping(value="/get/app/index/special")
    @ApiOperation(value="天天特价查询")
    public Result querySpecialPrice(){
        return HandleResultUtil.querySuccessResult(querySpecialPriceBiz.querySpecialBiz());
    }
}
